package com.zecan.blog.dao;

import com.zecan.blog.entity.Message;

import java.util.List;

/**
 * @ClassName MessageMapper
 * @Description
 * @date 2022/11/22 21:43
 * @Version 1.0
 */

public interface MessageMapper {

    Integer insertMessage(Message message);

    List<Message> getAllMessageList();

    List<Message> getMessageListByLimit(Integer offset,Integer limit);
    Integer updateMessageStatus(Integer messageId);
}
